Pod::Spec.new do |s|
s.name         = "JKRShareManager" # 项目名称
s.version      = "0.0.6"        # 版本号 与 你仓库的 标签号 对应
s.license      = { :type => "MIT", :file => "LICENSE" }          # 开源证书
s.summary      = "分享工具封装" # 项目简介

s.homepage     = "https://gitee.com/joker388/JKRShareManager" # 仓库的主页
s.source       = { :git => "https://gitee.com/joker388/JKRShareManager.git", :tag => "#{s.version}" }

s.ios.deployment_target = '9.0'
s.dependency 'MJExtension'
s.dependency 'JKRBaseTool'

s.source_files = "JKRShareManager/*"
s.public_header_files = 'JKRShareManager/JKRShareManager.h'

s.subspec 'ShareMenu' do |ss|
    ss.ios.deployment_target = '9.0'
    ss.source_files = "JKRShareManager/ShareMenu/*.{h,m}"
    ss.resource = "JKRShareManager/ShareMenu/*.{xib}"
    ss.dependency 'JKRShareManager/Tool'
end

s.subspec 'Tool' do |ss|
    ss.ios.deployment_target = '9.0'
    ss.source_files = "JKRShareManager/Tool/*"
end

s.subspec 'Resource' do |ss|
   ss.ios.deployment_target = '9.0'
   ss.resource = "JKRShareManager/JKRShareItems.plist", "JKRShareManager/JKRShare.bundle"
end

s.requires_arc = true # 是否启用ARC

s.ios.frameworks   = 'UIKit', 'Foundation'
s.dependency    'UMengUShare/UI'
s.dependency    'UMengUShare/Social/WeChat'
s.dependency    'UMengUShare/Social/QQ'

# User
s.author             = { "Lucky" => "931845816@qq.com" } # 作者信息
s.social_media_url   = "https://www.baidu.com" # 个人主页

end
